package com.example.designmodule.chain;

/**
 * @Author: Dijah
 * @Date: 2023/3/4 11:15
 * @Desc: 组长
 */
public class code3_GroupLeader extends code2_Handler {

    public code3_GroupLeader(){
        super(code2_Handler.NUM_ONE,code2_Handler.NUM_THREE);
    }

    @Override
    protected void handleLeave(code1_LeaveRequest leave) {
        System.out.println(leave.getName() + "请假：" + leave.getNum() + "天，" + leave.getContent() + "。");
        System.out.println("小组长审批：同意。");
    }
}
